package co.yixiang.retail.biz.product.service;

import co.yixiang.common.mproot.common.service.BaseService;

import co.yixiang.retail.common.domain.YxStoreProduct;
import co.yixiang.retail.common.domain.YxSystemStore;
import co.yixiang.retail.common.dto.YxStoreProductQueryCriteria;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;


public interface YxStoreProductService extends BaseService<YxStoreProduct> {
    /**
     * 查询商品列表 根据门店id
     * @param criteria
     * @param pageable
     * @return
     */
    Map<String, Object> queryByRetailId(YxStoreProductQueryCriteria criteria, Pageable pageable);


    /**
     * 查询商品列表 根据门店id
     * @param criteria
     * @param pageable
     * @return
     */
    Map<String, Object>  queryGoods(YxStoreProductQueryCriteria criteria,Pageable pageable);

    Map<String, Object>  queryBystore(YxStoreProductQueryCriteria criteria, Pageable pageable);

    YxSystemStore queryRetail(Integer id);

    Map<String, Object> queryByCebters(YxStoreProductQueryCriteria criteria, Pageable pageable);
}
